using System;
using System.Collections.Generic;
namespace Rogan.Data.Extensions
{
	public static class OrderByListExtension
	{
		public static IList<OrderByExpression> Clone(this IList<OrderByExpression> list)
		{
			List<OrderByExpression> list2 = new List<OrderByExpression>();
			foreach (OrderByExpression current in list)
			{
				list2.Add(current.Clone());
			}
			return list2;
		}
		public static IList<OrderByExpression> Reverse(this IList<OrderByExpression> list)
		{
			List<OrderByExpression> list2 = new List<OrderByExpression>();
			foreach (OrderByExpression current in list)
			{
				list2.Add(current.Reverse());
			}
			return list2;
		}
		public static IList<OrderByExpression> SetTable(this IList<OrderByExpression> list, string tName)
		{
			foreach (OrderByExpression current in list)
			{
				current.SetTable(tName);
			}
			return list;
		}
	}
}
